Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: DevContainer Support & Tasks #1476

Merged

Conversation

RaulTrombin
Copy link
Member

Adds a development environment matching production,
requires minimal setup without any additional installations.

DevContainer:
DevContainer can be used on VSCode through VS Code DevContainer extension
image

Or from Github's Codespace:
Codespace created demo:
image
Codespace running task live DevServer:
image
Codespace loading DevServer from forwarded port:
image

Tasks:
Now users can run live DevServer through container or directly when it's inside DevContainer:
image
Tasks pannel:
image
Tasks on botton pannel:
image

@CLAassistant
Copy link

CLAassistant commented Nov 29, 2024

CLA assistant check
All committers have signed the CLA.

@RaulTrombin
Copy link
Member Author

RaulTrombin commented Nov 29, 2024

Fast test with live preview from Codespace:
Cockpit-fast-loading-codespace

please just wait some ~3 minutes to it conclude postCreateCommand ( git submodule + bun install )

Copy link
Member

@rafaellehmkuhl rafaellehmkuhl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super cool!!

Is there some way to test it or should we merge it and test then?

As you're just adding new files, I wouldn't have a problem with merging as it is.

@RaulTrombin
Copy link
Member Author

Super cool!!

Is there some way to test it or should we merge it and test then?

As you're just adding new files, I wouldn't have a problem with merging as it is.

Should work directly! Just need to be inside main/master branch for github create a container based on it.
I temporary put this branch on my fork/master, in 10 minutes should be available to test.
Then just run codespace from here:

Maybe need some adtional setup on Settings:
image

@RaulTrombin
Copy link
Member Author

Just need to wait some 2 minutes untill this run and close automatically:
image

@rafaellehmkuhl rafaellehmkuhl merged commit 2565fa6 into bluerobotics:master Nov 29, 2024
10 checks passed
@ES-Alexander ES-Alexander added the docs-needed Change needs to be documented label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-needed Change needs to be documented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants